import tui from '@/common/tui'
import api from '@/common/api.js'
module.exports = {
	getRemoteLandingPositionsById: function(id, setPositions) {
		let params = {
			id: id
		};
		tui.postAction(api.common.service.rpa.devops.pro.getMetaJson, params).then((res) => {
			setPositions(res.serviceGrowingLandingLandingVo.serviceGrowingSspPosition)
		});
	},
	getLocalLandingPositions(pro) {
		return pro.pro.serviceGrowingLandingLandingVo.serviceGrowingSspPosition
	},
	getRemoteChatProById: function(id, setPositions) {
		let params = {
			id: id
		};
		tui.postAction(api.common.service.rpa.devops.pro.getMetaJson, params).then((res) => {
			setPositions(res)
		});
	},
}
